package fr.poy.mygluco.client;

import java.util.List;

import com.extjs.gxt.ui.client.data.PagingLoadConfig;
import com.extjs.gxt.ui.client.data.PagingLoadResult;
import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;

import fr.poy.mygluco.model.AppLogs;
import fr.poy.mygluco.model.Record;
import fr.poy.mygluco.model.UserProfile;

 
@RemoteServiceRelativePath("service")
public interface AppService extends RemoteService {
	
	
	UserProfile loadProfile(); 
	AppLogs saveProfile(UserProfile o);
	PagingLoadResult<Record> listRecord(PagingLoadConfig config );	
	List<Record> processImportFile(); 
	AppLogs persistRecords(List<Record> o); 
	
	AppLogs removeAllRecords();  
	
	
	

}
